<?php

namespace app\index\controller;

use think\Request;
use think\Db;

class Share extends Common
{
    public function dymanic()
    {
        $request = request();

        $url = $request->domain() . str_replace('/index.php', '', $request->baseFile());
        $fullUrl = $url . '/apis/home/dymanic/dycommentlsts';

        $data = [
            'appName' => getenv('APP_NAME'),
            'fullUrl' => $fullUrl,
            'url' => $url,
        ];

        $this->assign('data', $data);

        return $this->fetch();
    }
}
